﻿Imports System.Collections.ObjectModel
Public Class Employee
    Private _FirstName As String
    Private _Surname As String
    Private _DateOfBirth As Date
    Private _IDPic As BitmapImage
    Public ReadOnly Property IdPic() As BitmapImage
        Get
            Return _IDPic
        End Get
    End Property

    Public ReadOnly Property FirstName() As String
        Get
            Return _FirstName
        End Get
    End Property
    Public ReadOnly Property DateOfBirth() As Date
        Get
            Return _DateOfBirth
        End Get
    End Property
    Public ReadOnly Property Surname() As String
        Get
            Return _Surname
        End Get
    End Property

    Public Sub New(ByVal FN As String, ByVal SN As String, ByVal DOB As Date, ByVal IdPic As BitmapImage)
        _FirstName = FN
        _Surname = SN
        _DateOfBirth = DOB
        _IDPic = IdPic
    End Sub
End Class

